home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Utilities Professional 1-1500
/
Utilities Professional 1-1500 (1994)(WPD)[!].iso
/
00010250
/
var0021.dms
/
var0021.adf
/
MicroEMACS.DOC
< prev
next >
Wrap
Text File
|
1988-03-14
|
8KB
|
183 lines
This is an updated and improved version of the MicroEMACS
originally found on AMICUS disk number 2. This improved version
was done by Andy Poggio (mostly) and Rick Wirch ( fixed up menus,
added left and right margin capabilities, ability to work
correctly from the workbench, and added a couple of commands ).
Memacs Command Summary
<ctrl-@> Set Mark at current position.
<ctrl-A> Move cursor to beginning of line.
<ctrl-B> Move cursor BACK one character.
<ctrl-C> Push to a new interactive command shell.
<ctrl-D> DELETE current character.
<ctrl-E> Move cursor to END of line.
<ctrl-F> Move cursor FORWARD one character.
<ctrl-G> Abort any command. (shades of Teco).
<ctrl-H> (backspace) delete previous character.
<ctrl-I> TAB ( insert a TAB char or TAB number of spaces )
<ctrl-K> KILL (delete) to end of line.
<ctrl-L> Redisplay screen.
<ctrl-M> RETURN ( end current line and start a new one )
<ctrl-N> Move cursor to NEXT line.
<ctrl-O> OPEN a new line.
<ctrl-P> Move to PREVIOUS line.
<ctrl-Q> QUOTE the next character (insert the next character typed).
<ctrl-R> REVERSE Search.
<ctrl-S> Forward SEARCH.
<ctrl-T> TRANSPOSE characters.
<ctrl-U> Enter repeat count for next command.
<ctrl-V> VIEW the next screen (scroll up one screen).
<ctrl-W> Kill region (all text between cursor and last mark set).
<ctrl-Y> YANK (undelete) last text killed (deleted).
<ctrl-Z> Save file in current buffer and exit.
<ctrl-X>= Show the cursor position in the file.
<ctrl-X>( Begin keyboard Macro.
<ctrl-X>) End keyboard Macro.
<ctrl-X>1 Display only current window.
<ctrl-X>2 Split the current window.
<ctrl-X>B Prompt for new BUFFER.
<ctrl-X>E EXECUTE keyboard Macro.
<ctrl-X>I Toggle the auto indentation mode.
<ctrl-X>K KILL a buffer.
<ctrl-X>N Move to NEXT window.
<ctrl-X>P Move to PREVIOUS window.
<ctrl-X>T Toggle word wrap.
<ctrl-X>Z Enlarge current window by repete count <ctrl-U> lines.
<ctrl-X><ctrl-B> Show active BUFFERS.
<ctrl-X><ctrl-C> Exit without saving buffers.
<ctrl-X><ctrl-F> VISIT a file ( read only )
<ctrl-X><ctrl-L> Change a region to lower case.
<ctrl-X><ctrl-O> Delete multiple blank lines.
<ctrl-X><ctrl-N> Scroll current window up by repete count lines.
<ctrl-X><ctrl-P> Scroll current window up by repete count lines.
<ctrl-X><ctrl-R> READ file into current buffer.
<ctrl-X><ctrl-S> SAVE (write) current buffer into its file.
<ctrl-X><ctrl-V> VISIT a file. Read file and display in current window.
<ctrl-X><ctrl-W> WRITE buffer to file.
<ctrl-X><ctrl-X> SWAP point and mark.
<ctrl-X><ctrl-Z> Reduce current window by repete count lines.
<del> delete previous character.
<esc>! Move current line to repeat count lines from top of window.
<esc>% Query Replace.
<esc>. Set mark at cursor position
<esc>> Move cursor to end of buffer.
<esc>< Move cursor to beginning of buffer.
<esc>B Move cursor BACK one word.
<esc>C CAPITALIZE (Capitalize) word.
<esc>D DELETE next word.
<esc><del> DELETE previous word.
<esc>F Move cursor FORWARD one word.
<esc>L LOWERCASE (lowercase) next word.
(esc>M Move to a specified line number
<esc>Q PARAGRAPH FILL ( format a paragraph using margins ).
<esc>U UPPERCASE (UPPERCASE) next word.
<esc>V VIEW the previous screen (scroll down one screen).
<esc>W Copy region
<esc>Y Yank region to a specified file.
<esc><ctrl-H> Delete backward word.
As an aside the CTRL-I or TAB key amount can be set as follows: Press
CTRL-U ( Command Repeat ) and enter the amount of spaces you wish the TAB
key to perform followed by the TAB key.
------ Special Amiga Additions ------
Memacs now works from the Workbench. If you just double click on its icon
it starts with no file. If you click on a document icon, hold down the
SHIFT key and double click on its icon, Memacs will start out editing that
file.
LEFT BUTTON puts memacs cursor where mouse arrow is. This is also an easy
way to switch memacs windows. A small annoyance is that memacs gets mouse
button notification whenever its window is activated. Thus, activating the
window will move the memacs cursor unless mouse cursor is in top strip.
RIGHT BUTTON will set mark unless a menu item is selected. If you push the
right button accidently and you don't want to move the mark, just select
"No Operation" from the menu.
COMBINATION: Pressing the left button, then pressing the right button,
and releasing both will result in a character delete, i.e. a <DEL>.
Backspace = backspace a char SHIFT Backspace = Backspace a word
Del = delete a char SHIFT Del = Delete a word
Cursor Left = left SHIFT Cursor Left = beginning of line
Cursor Right= right SHIFT Cursor Right= end of line
Cursor Up = up SHIFT Cursor Up = up one page
Cursor Down = down SHIFT Cursor Down = down one page
F1 = Search Forward /F1 = Search Backward
F2 = Query Replace Forward /F2 = Query Replace Backward
F3 = Move Forward by Words /F3 = Move Backward by Words
F4 = Move to a line # /F4 = Display current line #
F5 = Reduce window size by count /F5 = Increase size by count
F6 = Scroll window up 1 line /F6 = Scroll window down 1 line
F7 = Start macro /F7 = End macro
F8 = Execute macro /F8 = <BLANK>
F9 = Copy Region /F9 = Cut Region
F10= Paste Kill Buffer or Undo /F10= Paste Buffer to a File
When first using MicroEMACS, I highly recommend making a function key map
to lay in the recessed slot above the function keys. This map should
look as below with the exception that the words should be aligned over the
function keys.
F1 F2 F3 F4 F5
Search<- Replace<- Word<- Position Shrink <-Shift Function keys
Search-> Replace-> Word-> Move Enlarge <-Function keys
F6 F7 F8 F9 F10
Scroll ^ End Macro <BLANK> Cut File Paste <-Shift Function keys
Scroll v Start Macro Execute Macro Copy Paste <-Function keys
Additional Features
-------------------
Alt Keys as Meta Keys -- Instead of typing <ESC> before meta command chars,
you can use either of the two <ALT> keys as a shift. For example, instead
of typing <ESC>v to go to the previous screen, you can hold down an <ALT>
key and type v. This is usually much faster.
Default buffer on switches -- Switches to previous buffer if no buffer is
specified in <ctrl-X>b. This is usually the one you want so it saves typing in
the name.
Interactive priority -- The memacs process priority is set to 1 (default is
0) to improve interactive response when multiple processes are active.
Without this feature, response is sluggish when, for example, compiling is
going on in the background.
File Backup -- A backup file is created whenever a file is written. The
backup file name is the original name with a 'O' appended. Thus, if you
write a file named "my.c", the directory will contain the file you just
wrote out as "my.c" and the original file as "my.cO".
Paragraph Fill -- Justifying paragraphs <META-Q> has been added. This does
things like shortening long lines, lengthening short lines, removing extra
spaces and adding missing spaces. It will try to be smart about how many
spaces should go after a period, but don't expect perfection. Colons will
always be followed by two spaces.
Word Wrap on Input -- This feature has been fixed to work correctly. It
will automatically break lines at word boundaries as you input text. It is
initially set to off. It can be toggled by <crtl-X>t or using the Word
wrap selection in the Options menu.
Query Replace -- You can now do mass text substitutions in a file via the
query replace command <META-%>. It will ask for the string to replace and
the string to replace it with. It will then search (case-independent) and
display each occurance it finds between the current point and the end of
the file. At each occurance, you must type one of several choices:
y or <SPACE> to replace the old string with the new one.
n or <DEL> to not replace, i.e. to leave the original string.
a to replace this and all subsequent occurances.
<ctrl-G> to abort.